<template>
    <div class="cinema">
        <div class="sort"></div>
        <cinemalist v-for="(citem,i) in cinemal" :key="i" :cinemaitem="citem"></cinemalist>    
    </div>
</template>

<script>
import cinemalist from "../cinemalist.vue";
import axios from 'axios';

export default {
    name: 'cinema',
    components: { 
        cinemalist 
    },
    data(){
        return{
            cinemal:{}
        }
    },
    created(){
        axios.post('/api/movie/selectcinema').then(res => {
            this.cinemal = res.data;
        })
    },
  }
</script>

<style lang="scss" scoped>
.sort{
    height: 40px;
    margin: 0px;
    padding: 0px;
}
</style>
